home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _64B936BA6B92409187342698371A0B5C < prev    next >
Encoding:
Text File  |  2004-06-22  |  1.1 KB  |  61 lines

  1. shader()
  2. {
  3.     cull("none")
  4.     sortweight("sprite")
  5.  
  6.     pass()
  7.     {
  8.         pixelshader("motion_blur.psh")
  9.  
  10.         // temp
  11.         tmu()
  12.         {
  13.             texture()
  14.             {
  15.                 mapchannel(0)
  16.                 usermap(0)
  17.  
  18.                 addressfunc("clamp", "clamp", "clamp")
  19.                 filtering("linear_no_mip")
  20.             }
  21.         }
  22.  
  23.         depthfunc("always", 0)
  24.         nofog()
  25.  
  26.         blendfunc("src_alpha", "inv_src_alpha")
  27.     }
  28. }
  29. /*
  30. shader()
  31. {
  32.     cull("none")
  33.     sortweight("sprite")
  34.  
  35.     pass()
  36.     {
  37.         // temp
  38.         tmu()
  39.         {
  40.             texture()
  41.             {
  42.                 mapchannel(0)
  43.                 usermap(0)
  44.  
  45.                 addressfunc("clamp", "clamp", "clamp")
  46.                 filtering("linear_no_mip")
  47.             }
  48.  
  49.             alphaop("arg2", "texture", "inv_tfactor", "current")
  50.         }
  51.  
  52.         depthfunc("always", 0)
  53.         nofog()
  54.  
  55.         blendfunc("src_alpha", "inv_src_alpha")
  56.  
  57.         tfactor(0, 0, 0, %motionblurpower)
  58.     }
  59. }
  60. */
  61.